﻿using Microsoft.Extensions.Logging;
using my.abp.Domain.EventHandlers;
using Quartz;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.BackgroundJobs;
using Volo.Abp.BackgroundJobs.Quartz;
using Volo.Abp.DependencyInjection;

namespace my.abp.Application.Jobs
{
	/// <summary>
	/// 后台作业
	/// </summary>
	public class TestBackgroundJob : IJob
	{
		private readonly ILogger<TestBackgroundJob> _logger;
		public TestBackgroundJob(ILogger<TestBackgroundJob> logger) { _logger = logger; }

		public Task Execute(IJobExecutionContext context)
		{
			_logger.LogDebug("BackgroundJob 测试");
			return Task.CompletedTask;
		}
	}
}
